package com.linxiao.framework.util

import android.databinding.BindingAdapter
import android.widget.ImageView
import android.widget.Spinner
import org.jetbrains.anko.imageURI

/**
 * TODO:BindingAdapter未完事项
 * Created by Extends on 2017/3/22.
 */

object BindingAdapterUtil {
    @BindingAdapter("imgSrc")
    @JvmStatic
    fun loadImage(view: ImageView, imgId: Int) {
        view.setImageResource(imgId)
    }
}
